/*
 * Copyright (C) 拾光分享网 
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 */
package top.hiai._admin.index;

import top.hiai.config.BaseController;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top
* @Introduction 类的介绍
*/

public class IndexAdminController  extends BaseController{
	
	IndexAdminService srv = IndexAdminService.me;
	
	/**
	 * 后台主界面
	 */
	public void index(){
		setAttr("userProfile", srv.getAccountProfile());
		setAttr("articleProfile", srv.getAricletProfile());
		setAttr("replyProfile", srv.getReplyProfile());
		setAttr("commentsProfile", srv.getCommentsProfile());
		render("index.html");
	}
}